//按需加载js样式
const {injectBabelPlugin} = require('react-app-rewired');

module.exports = function override(config,env){
    config = injectBabelPlugin(
        ['import', {libraryName: 'antd', libraryDirectory: 'es', style: 'css'}],
        config,
    )
    return config;
}